[INFO] fetching crate nakamoto-p2p 0.2.1...
[INFO] building nakamoto-p2p-0.2.1 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate nakamoto-p2p 0.2.1 into /workspace/builds/worker-8/source
[INFO] validating manifest of crates.io crate nakamoto-p2p 0.2.1 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nakamoto-p2p 0.2.1
[INFO] finished tweaking crates.io crate nakamoto-p2p 0.2.1
[INFO] tweaked toml for crates.io crate nakamoto-p2p 0.2.1 written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2636f341c15b9ece4ad386dfb43f572f034065fb775d8d0fae3203b2f48a762a
[INFO] running `Command { std: "docker" "start" "-a" "2636f341c15b9ece4ad386dfb43f572f034065fb775d8d0fae3203b2f48a762a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2636f341c15b9ece4ad386dfb43f572f034065fb775d8d0fae3203b2f48a762a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2636f341c15b9ece4ad386dfb43f572f034065fb775d8d0fae3203b2f48a762a", kill_on_drop: false }`
[INFO] [stdout] 2636f341c15b9ece4ad386dfb43f572f034065fb775d8d0fae3203b2f48a762a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0ae0fea138da8363ec60d5f74152911855e62aeeb8e84d22b8696b2f5112dac6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0ae0fea138da8363ec60d5f74152911855e62aeeb8e84d22b8696b2f5112dac6", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling bech32 v0.7.3
[INFO] [stderr]    Compiling bitcoin_hashes v0.9.6
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling nonempty v0.5.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling secp256k1-sys v0.3.0
[INFO] [stderr]    Compiling crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling secp256k1 v0.19.0
[INFO] [stderr]    Compiling bitcoin v0.25.2
[INFO] [stderr]    Compiling microserde-derive v0.1.13
[INFO] [stderr]    Compiling thiserror-impl v1.0.25
[INFO] [stderr]    Compiling microserde v0.1.13
[INFO] [stderr]    Compiling thiserror v1.0.25
[INFO] [stderr]    Compiling nakamoto-common v0.2.0
[INFO] [stderr]    Compiling nakamoto-p2p v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 42.91s
[INFO] running `Command { std: "docker" "inspect" "0ae0fea138da8363ec60d5f74152911855e62aeeb8e84d22b8696b2f5112dac6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ae0fea138da8363ec60d5f74152911855e62aeeb8e84d22b8696b2f5112dac6", kill_on_drop: false }`
[INFO] [stdout] 0ae0fea138da8363ec60d5f74152911855e62aeeb8e84d22b8696b2f5112dac6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 5b8f43a27fdc3c8ef3eda783c61b3497c4dfc3f6531c427f8ac4e7fd552190d8
[INFO] running `Command { std: "docker" "start" "-a" "5b8f43a27fdc3c8ef3eda783c61b3497c4dfc3f6531c427f8ac4e7fd552190d8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling quickcheck_macros v0.9.1
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]    Compiling quickcheck v0.9.2
[INFO] [stderr]    Compiling nakamoto-p2p v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:637:9
[INFO] [stdout]     |
[INFO] [stdout] 637 |     use nakamoto_chain::block::{cache::BlockCache, store};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:638:9
[INFO] [stdout]     |
[INFO] [stdout] 638 |     use nakamoto_chain::filter::cache::FilterCache;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]   --> src/protocol/tests.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use nakamoto_chain::block::cache::BlockCache;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]   --> src/protocol/tests.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use nakamoto_chain::block::store;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_test`
[INFO] [stdout]   --> src/protocol/tests.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use nakamoto_test::block::cache::model;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nakamoto_test`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:641:9
[INFO] [stdout]     |
[INFO] [stdout] 641 |     use nakamoto_test::BITCOIN_HEADERS;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nakamoto_test`
[INFO] [stdout]   --> src/protocol/tests.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use nakamoto_test::logger;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nakamoto_test`
[INFO] [stdout]   --> src/protocol/tests.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use nakamoto_test::BITCOIN_HEADERS;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockCache`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:691:13
[INFO] [stdout]     |
[INFO] [stdout] 691 |             BlockCache::from(store::Memory::new(BITCOIN_HEADERS.clone()), params, &[]).unwrap()
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `BlockCache`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `store`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:691:30
[INFO] [stdout]     |
[INFO] [stdout] 691 |             BlockCache::from(store::Memory::new(BITCOIN_HEADERS.clone()), params, &[]).unwrap()
[INFO] [stdout]     |                              ^^^^^ use of undeclared crate or module `store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FilterCache`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:697:25
[INFO] [stdout]     |
[INFO] [stdout] 697 |             let cache = FilterCache::from(store::memory::Memory::genesis(network)).unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^ use of undeclared type `FilterCache`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `store`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:697:43
[INFO] [stdout]     |
[INFO] [stdout] 697 |             let cache = FilterCache::from(store::memory::Memory::genesis(network)).unwrap();
[INFO] [stdout]     |                                           ^^^^^ use of undeclared crate or module `store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests/simulator.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |         model::Cache,
[INFO] [stdout]     |         ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests/simulator.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |         model::FilterCache,
[INFO] [stdout]     |         ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests/simulator.rs:205:17
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 model::Cache,
[INFO] [stdout]     |                 ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests/simulator.rs:206:17
[INFO] [stdout]     |
[INFO] [stdout] 206 |                 model::FilterCache,
[INFO] [stdout]     |                 ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]   --> src/protocol/tests.rs:68:18
[INFO] [stdout]    |
[INFO] [stdout] 68 |         Protocol<model::Cache, model::FilterCache, HashMap<net::IpAddr, KnownAddress>>,
[INFO] [stdout]    |                  ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]   --> src/protocol/tests.rs:68:32
[INFO] [stdout]    |
[INFO] [stdout] 68 |         Protocol<model::Cache, model::FilterCache, HashMap<net::IpAddr, KnownAddress>>,
[INFO] [stdout]    |                                ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]   --> src/protocol/tests.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let cache = model::Cache::new(genesis);
[INFO] [stdout]    |                     ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]   --> src/protocol/tests.rs:74:23
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let filters = model::FilterCache::new(FilterHeader::genesis(network));
[INFO] [stdout]    |                       ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]   --> src/protocol/tests.rs:99:22
[INFO] [stdout]    |
[INFO] [stdout] 99 |             Protocol<model::Cache, model::FilterCache, HashMap<net::IpAddr, KnownAddress>>,
[INFO] [stdout]    |                      ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]   --> src/protocol/tests.rs:99:36
[INFO] [stdout]    |
[INFO] [stdout] 99 |             Protocol<model::Cache, model::FilterCache, HashMap<net::IpAddr, KnownAddress>>,
[INFO] [stdout]    |                                    ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:104:22
[INFO] [stdout]     |
[INFO] [stdout] 104 |             Protocol<model::Cache, model::FilterCache, HashMap<net::IpAddr, KnownAddress>>,
[INFO] [stdout]     |                      ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:104:36
[INFO] [stdout]     |
[INFO] [stdout] 104 |             Protocol<model::Cache, model::FilterCache, HashMap<net::IpAddr, KnownAddress>>,
[INFO] [stdout]     |                                    ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:113:21
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let cache = model::Cache::new(genesis);
[INFO] [stdout]     |                     ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:114:23
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let filters = model::FilterCache::new(FilterHeader::genesis(network));
[INFO] [stdout]     |                       ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:158:21
[INFO] [stdout]     |
[INFO] [stdout] 158 |             Builder<model::Cache, model::FilterCache, HashMap<net::IpAddr, KnownAddress>>,
[INFO] [stdout]     |                     ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:158:35
[INFO] [stdout]     |
[INFO] [stdout] 158 |             Builder<model::Cache, model::FilterCache, HashMap<net::IpAddr, KnownAddress>>,
[INFO] [stdout]     |                                   ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:218:24
[INFO] [stdout]     |
[INFO] [stdout] 218 |             let tree = model::Cache::from(chain);
[INFO] [stdout]     |                        ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:219:27
[INFO] [stdout]     |
[INFO] [stdout] 219 |             let filters = model::FilterCache::from(cfheaders);
[INFO] [stdout]     |                           ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:246:16
[INFO] [stdout]     |
[INFO] [stdout] 246 |     let tree = model::Cache::new(genesis);
[INFO] [stdout]     |                ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:250:19
[INFO] [stdout]     |
[INFO] [stdout] 250 |     let filters = model::FilterCache::new(FilterHeader::default());
[INFO] [stdout]     |                   ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `store`
[INFO] [stdout]    --> src/protocol/tests.rs:311:17
[INFO] [stdout]     |
[INFO] [stdout] 311 |     let store = store::Memory::new(BITCOIN_HEADERS.clone());
[INFO] [stdout]     |                 ^^^^^ use of undeclared crate or module `store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:314:19
[INFO] [stdout]     |
[INFO] [stdout] 314 |     let filters = model::FilterCache::new(FilterHeader::genesis(Network::Mainnet));
[INFO] [stdout]     |                   ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockCache`
[INFO] [stdout]    --> src/protocol/tests.rs:331:22
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let alice_tree = BlockCache::from(alice_store, params.clone(), &[]).unwrap();
[INFO] [stdout]     |                      ^^^^^^^^^^ use of undeclared type `BlockCache`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockCache`
[INFO] [stdout]    --> src/protocol/tests.rs:332:20
[INFO] [stdout]     |
[INFO] [stdout] 332 |     let bob_tree = BlockCache::from(
[INFO] [stdout]     |                    ^^^^^^^^^^ use of undeclared type `BlockCache`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `store`
[INFO] [stdout]    --> src/protocol/tests.rs:333:9
[INFO] [stdout]     |
[INFO] [stdout] 333 |         store::Memory::new(NonEmpty::new(*alice_tree.genesis())),
[INFO] [stdout]     |         ^^^^^ use of undeclared crate or module `store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/protocol/tests.rs:760:30
[INFO] [stdout]     |
[INFO] [stdout] 760 |                 ) if addr == &remote
[INFO] [stdout]     |                              ^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              expected enum `std::net::SocketAddr`, found `&std::net::SocketAddr`
[INFO] [stdout]     |                              help: consider removing the borrow: `remote`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/protocol/tests.rs:775:30
[INFO] [stdout]     |
[INFO] [stdout] 775 |                 ) if addr == &remote
[INFO] [stdout]     |                              ^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              expected enum `std::net::SocketAddr`, found `&std::net::SocketAddr`
[INFO] [stdout]     |                              help: consider removing the borrow: `remote`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Store`
[INFO] [stdout]   --> src/protocol/tests.rs:22:46
[INFO] [stdout]    |
[INFO] [stdout] 22 | use nakamoto_common::block::store::{Genesis, Store};
[INFO] [stdout]    |                                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 39 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nakamoto-p2p`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "5b8f43a27fdc3c8ef3eda783c61b3497c4dfc3f6531c427f8ac4e7fd552190d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b8f43a27fdc3c8ef3eda783c61b3497c4dfc3f6531c427f8ac4e7fd552190d8", kill_on_drop: false }`
[INFO] [stdout] 5b8f43a27fdc3c8ef3eda783c61b3497c4dfc3f6531c427f8ac4e7fd552190d8
